package com.wingscode.modules.app.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel(value = "订单表单")
public class OrderForm{
    @NotBlank(message = "openId不能为空")
    private String openId;
    private Integer orderId;
    @NotNull(message = "userId不能为空")
    private Integer userId;
    @NotNull(message = "price不能为空")
    private BigDecimal price;
    @NotNull(message = "addedSettingId不能为空")
    private Integer addedSettingId;
}
